home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Snippets / Toolbox / ListInDialog / Resource / ListInDialog.r
Encoding:
Text File  |  1996-09-17  |  1.0 KB  |  65 lines  |  [TEXT/CWIE]

  1. //
  2. //    9/13/96 PG
  3. //        fixed CK's spelling
  4. //        fixed user item bounds for cleaner scrolling
  5. //
  6.  
  7. #include "types.r"
  8.  
  9. data 'DLOG' (128) {
  10.     $"0022 0016 00ED 0108 0001 0100 0100 0000"            /* .".............. */
  11.     $"0000 0080 00"                                       /* ...Ä. */
  12. };
  13.  
  14. resource 'DITL' (128) {
  15.     {    /* array DITLarray: 3 elements */
  16.         /* [1] */
  17.         {170, 170, 190, 228},
  18.         Button {
  19.             enabled,
  20.             "OK"
  21.         },
  22.         /* [2] */
  23.         {170, 90, 190, 148},
  24.         Button {
  25.             enabled,
  26.             "Cancel"
  27.         },
  28.         /* [3] */
  29.         {10, 10, 154, 202},
  30.         UserItem {
  31.             disabled
  32.         }
  33.     }
  34. };
  35.  
  36. resource 'STR#' (128) {
  37.     {    /* array StringArray: 12 elements */
  38.         /* [1] */
  39.         "A string",
  40.         /* [2] */
  41.         "A different string",
  42.         /* [3] */
  43.         "A string here",
  44.         /* [4] */
  45.         "A string there",
  46.         /* [5] */
  47.         "A string everywhere",
  48.         /* [6] */
  49.         "A string without hope",
  50.         /* [7] */
  51.         "A string with a tail",
  52.         /* [8] */
  53.         "A string with a goat",
  54.         /* [9] */
  55.         "A string indeed",
  56.         /* [10] */
  57.         "A string indeed again",
  58.         /* [11] */
  59.         "A string indeed still again",
  60.         /* [12] */
  61.         "A string indeed mode"
  62.     }
  63. };
  64.  
  65.